<template>
  <div>

  </div>
</template>

<script setup>
import {poll} from "./worker/core.js";
poll.start('task1', {
  time: 1000,
  msg: 'task1'
}).then(res => {
  //...
});
</script>

<style scoped>
</style>
